package com.smedi.ismedi.personnel.core.infrastructure.schedule;

import com.smedi.ismedi.personnel.core.application.service.ImisSyncApplicationService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@AllArgsConstructor
public class DoImisSyncTask implements Runnable {
    private final ImisSyncApplicationService imisSyncApplicationService;

    @Override
    public void run() {
        imisSyncApplicationService.doSync();
    }
}
